//==============================================================================
// Temple_anim.txt
//==============================================================================

import Construction_defines_anim.txt


//==============================================================================
define VINEA
{
   set hotspot
   {
      version
      {
         Visual Building VineA
      }
   }  
}

//==============================================================================
define VINEB
{
   set hotspot
   {
      version
      {
         Visual Building VineB
      }
   }  
}

//==============================================================================
define CypressA
{
   set hotspot
   {
      version
      {
         visual terrain g cypressA
      }
   }
}

//==============================================================================
define CypressB
{
   set hotspot
   {
      version
      {
         visual terrain g cypressB
      }
   }
}

//==============================================================================
define Dust
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Building DustA
      }
   }  
}

//==============================================================================
anim idle
{
   SetSelector
   {
      CultureLogic Egyptian/Greek/Norse/Atlantean/Chinese
//---------------------------------Egyptian---------------------------------------//
       //---------------------------Age 1--------------------------------//    
      SetSelector
      {
         TechLogic none/age 2/age 3/age 4
         setSelector
         {
            ConstructionLogic 0 33 66
            set hotspot
            {
               version
               {
                  Visual NewShrineE
                  
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall A
                  
         		   connect CHIN E_Small_Brick hotspot
		   		   connect ATTACHPOINT E_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
                 
         		   connect CHIN E_Small_Brick hotspot
		   		   connect ATTACHPOINT E_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
                 
         		   connect CHIN E_Small_Brick hotspot
		   		   connect ATTACHPOINT E_Long_Brick hotspot
	            }
            }
         }
       //---------------------------Age 2--------------------------------//
         setSelector
         {
            ConstructionLogic 0 33 66
            set hotspot
            {
               version
               {
                  Visual NewShrineE
		  ReplaceTexture buildinge2/Building E Age2
                  
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall A
                  
         		   connect CHIN E_Small_Brick hotspot
		   		   connect ATTACHPOINT E_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
                  
         		   connect CHIN E_Small_Brick hotspot
		   		   connect ATTACHPOINT E_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
                  
         		   connect CHIN E_Small_Brick hotspot
		   		   connect ATTACHPOINT E_Long_Brick hotspot
	            }
            }
         }
       //---------------------------Age 3--------------------------------//
         setSelector
         {
            ConstructionLogic 0 33 66
            set hotspot
            {
               version
               {
                  Visual NewShrineE
		  ReplaceTexture buildinge2/Building E Age3
                  
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall A
                  
         		   connect CHIN E_Small_Brick hotspot
		   		   connect ATTACHPOINT E_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
                  
         		   connect CHIN E_Small_Brick hotspot
		   		   connect ATTACHPOINT E_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
                  
         		   connect CHIN E_Small_Brick hotspot
		   		   connect ATTACHPOINT E_Long_Brick hotspot
	            }
            }
         }
	//---------------------------Age 4--------------------------------//
         setSelector
         {
            ConstructionLogic 0 33 66
            set hotspot
            {
               version
               {
                  Visual NewShrineE
		  ReplaceTexture buildinge2/Shrineage5
		  ReplaceTexture Egypt Shrine/Egypt Shrine4
                  
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall A
                  
         		   connect CHIN E_Small_Brick hotspot
		   		   connect ATTACHPOINT E_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
                  
         		   connect CHIN E_Small_Brick hotspot
		   		   connect ATTACHPOINT E_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
                  
         		   connect CHIN E_Small_Brick hotspot
		   		   connect ATTACHPOINT E_Long_Brick hotspot
	            }
            }
         }
      }
//---------------------------------Greek-----------------------------------------//
       //---------------------------Age 1--------------------------------//
      SetSelector
      {
         TechLogic none/age 2/age 3
         SetSelector
         {
            ConstructionLogic 0 33 66
            set hotspot
            {
               version
               {
                  Visual Building G Shrine

	            }
            }
            set hotspot
            {
               version
               {
                   Visual Building Construction XSmall A
         		   connect CHIN G_Small_Brick hotspot
		   		   connect ATTACHPOINT G_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN G_Small_Brick hotspot
		   		   connect ATTACHPOINT G_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                   Visual Building Construction XSmall B
         		   connect CHIN G_Small_Brick hotspot
		   		   connect ATTACHPOINT G_Long_Brick hotspot
	            }
            }
         } 
       //---------------------------Age 2--------------------------------//
         SetSelector
         {
            ConstructionLogic 0 33 66
            set hotspot
            {
               version
               {
                  Visual Building G Shrine
 
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall A
         		   connect CHIN G_Small_Brick hotspot
		   		   connect ATTACHPOINT G_Long_Brick hotspot
	             }
            }
            set hotspot
            {
               version
               {
                   Visual Building Construction XSmall B
         		   connect CHIN G_Small_Brick hotspot
		   		   connect ATTACHPOINT G_Long_Brick hotspot
	             }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN G_Small_Brick hotspot
		   		   connect ATTACHPOINT G_Long_Brick hotspot
	            }
            }
         }
       //---------------------------Age 3--------------------------------//
         SetSelector
         {
            ConstructionLogic 0 33 66
            set hotspot
            {
               version
               {
                  Visual Building G Shrine

	       }
            }
            set hotspot
            {
               version
               {
                   Visual Building Construction XSmall A
         		   connect CHIN G_Small_Brick hotspot
		   		   connect ATTACHPOINT G_Long_Brick hotspot
	             }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN G_Small_Brick hotspot
		   		   connect ATTACHPOINT G_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                   Visual Building Construction XSmall B
         		   connect CHIN G_Small_Brick hotspot
		   		   connect ATTACHPOINT G_Long_Brick hotspot
	            }
            }
         }
      }
//---------------------------------Norse-----------------------------------------//       
      //---------------------------Age 1--------------------------------//
      SetSelector
      {
         TechLogic none/age 2/age 3
         SetSelector
         {
            ConstructionLogic 0 33 66
            set hotspot
            {
               version
               {
                  Visual Building N Shrine

               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall A
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	             }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	            }
            }
         }
       //---------------------------Age 2-----------------------------//
         SetSelector
         {
            ConstructionLogic 0 33 66
            set hotspot
            {
               version
               {
                  Visual Building N Shrine

               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall A
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	             }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	            }
            }
         }
       //---------------------------Age 3-----------------------------//
         SetSelector
         {
            ConstructionLogic 0 33 66
            set hotspot
            {
               version
               {
                  Visual Building N Shrine

               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall A
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	             }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	            }
            }
         }
      }
//---------------------------------Atlantean-----------------------------------------//       
      //---------------------------Age 1--------------------------------//
      SetSelector
      {
         TechLogic none/age 2/age 3
         SetSelector
         {
            ConstructionLogic 0 33 66
            set hotspot
            {
               version
               {
                  Visual Gaia Fountain Small

               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall A
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	             }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	            }
            }
         }
       //---------------------------Age 2-----------------------------//
         SetSelector
         {
            ConstructionLogic 0 33 66
            set hotspot
            {
               version
               {
                  Visual Gaia Fountain Small

               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall A
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	             }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	            }
            }
         }
       //---------------------------Age 3-----------------------------//
         SetSelector
         {
            ConstructionLogic 0 33 66
            set hotspot
            {
               version
               {
                  Visual Gaia Fountain Small

               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall A
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	             }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	            }
            }
         }
      }
//---------------------------------Chinese-----------------------------------------//       
      //---------------------------Age 1--------------------------------//
      SetSelector
      {
         TechLogic none/age 2/age 3
         SetSelector
         {
            ConstructionLogic 0 33 66
            set hotspot
            {
               version
               {
                  Visual ShaolinShrine2

               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall A
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	             }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	            }
            }
         }
       //---------------------------Age 2-----------------------------//
         SetSelector
         {
            ConstructionLogic 0 33 66
            set hotspot
            {
               version
               {
                  Visual ShaolinShrine2

               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall A
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	             }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	            }
            }
         }
       //---------------------------Age 3-----------------------------//
         SetSelector
         {
            ConstructionLogic 0 33 66
            set hotspot
            {
               version
               {
                  Visual ShaolinShrine2

               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall A
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	             }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	            }
            }
         }
      }

   }
}

//==============================================================================
anim death
{
   SetSelector
   {
      CultureLogic Egyptian/Greek/Norse
//---------------------------------Egyptian---------------------------------------//
       //---------------------------Age 1--------------------------------//    
      SetSelector
      {
         TechLogic none/age 2/age 3
         setSelector
         {
            ConstructionLogic 0 33 66
            set hotspot
            {
               version
               {
                  Visual Building E Shrine
                  connect ATTACHPOINT empower hotspot
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall A
                  connect ATTACHPOINT empower hotspot
         		   connect CHIN E_Small_Brick hotspot
		   		   connect ATTACHPOINT E_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
                  connect ATTACHPOINT empower hotspot
         		   connect CHIN E_Small_Brick hotspot
		   		   connect ATTACHPOINT E_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
                  connect ATTACHPOINT empower hotspot
         		   connect CHIN E_Small_Brick hotspot
		   		   connect ATTACHPOINT E_Long_Brick hotspot
	            }
            }
         }
       //---------------------------Age 2--------------------------------//
         setSelector
         {
            ConstructionLogic 0 33 66
            set hotspot
            {
               version
               {
                  Visual Building E Shrine
                  connect ATTACHPOINT empower hotspot
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall A
                  connect ATTACHPOINT empower hotspot
         		   connect CHIN E_Small_Brick hotspot
		   		   connect ATTACHPOINT E_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
                  connect ATTACHPOINT empower hotspot
         		   connect CHIN E_Small_Brick hotspot
		   		   connect ATTACHPOINT E_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
                  connect ATTACHPOINT empower hotspot
         		   connect CHIN E_Small_Brick hotspot
		   		   connect ATTACHPOINT E_Long_Brick hotspot
	            }
            }
         }
       //---------------------------Age 3--------------------------------//
         setSelector
         {
            ConstructionLogic 0 33 66
            set hotspot
            {
               version
               {
                  Visual Building E Shrine
                  connect ATTACHPOINT empower hotspot
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall A
                  connect ATTACHPOINT empower hotspot
         		   connect CHIN E_Small_Brick hotspot
		   		   connect ATTACHPOINT E_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
                  connect ATTACHPOINT empower hotspot
         		   connect CHIN E_Small_Brick hotspot
		   		   connect ATTACHPOINT E_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
                  connect ATTACHPOINT empower hotspot
         		   connect CHIN E_Small_Brick hotspot
		   		   connect ATTACHPOINT E_Long_Brick hotspot
	            }
            }
         }
      }
//---------------------------------Greek-----------------------------------------//
       //---------------------------Age 1--------------------------------//
      SetSelector
      {
         TechLogic none/age 2/age 3
         SetSelector
         {
            ConstructionLogic 0 33 66
            set hotspot
            {
               version
               {
                  Visual Building G Shrine_Death
						connect Smoke0 Dust hotspot
						connect Smoke1 Dust hotspot
						connect Smoke2 Dust hotspot
						connect Smoke3 Dust hotspot
	            }
            }
            set hotspot
            {
               version
               {
                   Visual Building Construction XSmall A
         		   connect CHIN G_Small_Brick hotspot
		   		   connect ATTACHPOINT G_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN G_Small_Brick hotspot
		   		   connect ATTACHPOINT G_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                   Visual Building Construction XSmall B
         		   connect CHIN G_Small_Brick hotspot
		   		   connect ATTACHPOINT G_Long_Brick hotspot
	            }
            }
         } 
       //---------------------------Age 2--------------------------------//
         SetSelector
         {
            ConstructionLogic 0 33 66
            set hotspot
            {
               version
               {
                  Visual Building G Shrine_Death
						connect Smoke0 Dust hotspot
						connect Smoke1 Dust hotspot
						connect Smoke2 Dust hotspot
						connect Smoke3 Dust hotspot
 
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall A
         		   connect CHIN G_Small_Brick hotspot
		   		   connect ATTACHPOINT G_Long_Brick hotspot
	             }
            }
            set hotspot
            {
               version
               {
                   Visual Building Construction XSmall B
         		   connect CHIN G_Small_Brick hotspot
		   		   connect ATTACHPOINT G_Long_Brick hotspot
	             }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN G_Small_Brick hotspot
		   		   connect ATTACHPOINT G_Long_Brick hotspot
	            }
            }
         }
       //---------------------------Age 3--------------------------------//
         SetSelector
         {
            ConstructionLogic 0 33 66
            set hotspot
            {
               version
               {
                  Visual Building G Shrine_Death
						connect Smoke0 Dust hotspot
						connect Smoke1 Dust hotspot
						connect Smoke2 Dust hotspot
						connect Smoke3 Dust hotspot

	       }
            }
            set hotspot
            {
               version
               {
                   Visual Building Construction XSmall A
         		   connect CHIN G_Small_Brick hotspot
		   		   connect ATTACHPOINT G_Long_Brick hotspot
	             }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN G_Small_Brick hotspot
		   		   connect ATTACHPOINT G_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                   Visual Building Construction XSmall B
         		   connect CHIN G_Small_Brick hotspot
		   		   connect ATTACHPOINT G_Long_Brick hotspot
	            }
            }
         }
      }
//---------------------------------Norse-----------------------------------------//       
      //---------------------------Age 1--------------------------------//
      SetSelector
      {
         TechLogic none/age 2/age 3
         SetSelector
         {
            ConstructionLogic 0 33 66
            set hotspot
            {
               version
               {
                  Visual Building N Shrine

               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall A
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	             }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	            }
            }
         }
       //---------------------------Age 2-----------------------------//
         SetSelector
         {
            ConstructionLogic 0 33 66
            set hotspot
            {
               version
               {
                  Visual Building N Shrine

               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall A
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	             }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	            }
            }
         }
       //---------------------------Age 3-----------------------------//
         SetSelector
         {
            ConstructionLogic 0 33 66
            set hotspot
            {
               version
               {
                  Visual Building N Shrine

               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall A
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	            }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	             }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
         		   connect CHIN N_Small_Brick hotspot
		   		   connect ATTACHPOINT N_Long_Brick hotspot
	            }
            }
         }
      }
   }
}


       
